import './mock'
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// import 'normalize.css'
import './styles/global.less'
import '@/directives'
import { showMessage } from './utils'
import './eventBus'

Vue.config.productionTip = false
Vue.prototype.$showMessage = showMessage
store.dispatch('setting/fetchSetting')

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount('#app')
